package com.msb.serviceDriverUser.controller;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.serviceDriverUser.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: WuWen
 * @Date: 2023/8/22 - 08 - 22 - 10:51
 * @Description: com.msb.serviceDriverUser.controller
 * @version: 1.0
 */
@RestController
public class TestController {

    @Autowired
    UserService userService;

    @GetMapping("/test")
    public ResponseResult test(){
        return userService.driverUser();
    }
}
